package com.imooc.mall.service;

import com.github.pagehelper.PageInfo;
import com.imooc.mall.form.ShippingForm;
import com.imooc.mall.vo.ResponseVO;

import java.util.Map;

/**
 * @author: bizy
 * @date: 2020/07/19 21:56
 */
public interface IShippingService {

    ResponseVO<Map<String,Integer>> add(Integer uid, ShippingForm form);

    ResponseVO delete(Integer uid, Integer shippingId);

    ResponseVO update(Integer uid, Integer shippingId, ShippingForm form);

    ResponseVO<PageInfo> list(Integer uid,Integer pageNum,Integer pageSize);
}
